package net.hvacapp.cmvrfforandroid.ui.resource;

import android.content.Intent;

import net.hvacapp.cmvrfforandroid.R;
import net.hvacapp.cmvrfforandroid.ui.BaseSwipeBackActivity;
import net.hvacapp.cmvrfforandroid.widget.CMActionBar;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EActivity;

/**
 * Created by hailonghan on 15/4/6.
 */
@EActivity(R.layout.resource_detail)
public class ResourceDetailActivity extends BaseSwipeBackActivity{

    /**
     * 页面加载完后执行
     */
    @AfterViews
    @Override
    protected void viewDidLoad() {
        super.viewDidLoad();
    }

    /**
     * 初始化
     */
    @Override
    public void initBoot() {
    }

    /**
     * 初始化数据
     */
    @Override
    public void initData(Intent intent) {
    }

    /**
     * 页面名称
     */
    @Override
    public String getName() {
        return "";
    }
    
//    private void initActionBar(){
//        getCMActionBar().setTitle("资源详情");
//        getCMActionBar().setLeftAction(new CMActionBar.Action() {
//            @Override
//            public int getDrawable() {
//                return R.drawable.ic_action_back;
//            }
//
//            @Override
//            public void performAction() {
//                finish();
//            }
//        });
//    }
}
